using System;
using System.Runtime.Serialization;

namespace Commons.Exceptions
{
	[Serializable]
	public class NotStockItemException : Exception
	{
		public NotStockItemException() : base()
		{
			
		}
		
		public NotStockItemException (int code)
			: base("Not stocked item " + code.ToString())
		{
		}
		
		public NotStockItemException(string message) : base(message)
		{
			
		}
		
		public NotStockItemException(string message, Exception innerException) : base(message, innerException)
		{
			
		}

		
        protected NotStockItemException(SerializationInfo info, StreamingContext context) : base(info, context)
		{

		}
	}
}

